﻿using UnityEngine;

namespace DefaultNamespace
{
    public class Main : MonoBehaviour
    {
        // Start is called before the first frame update
        void Start()
        {
            ABUpdateMgr.Instance.CheckUpdate((isOver) =>
            {
                if (isOver)
                {
                    print("检测更新结束");
                }
                else
                {
                    print("网络出错");
                }
            }, (str) =>
            {
                print(str);
            });
        }

        // Update is called once per frame
        void Update()
        {
        }
    }
}